package com.example.teamwork3.Control;


import com.example.teamwork3.Model.Grade;
import com.example.teamwork3.Service.GradeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GradeControl {

    @Autowired
    GradeService gradeService;


    @GetMapping("/Grade")
    public Grade SelectGradeById(String stu_id,String stu_name){return gradeService.SelectGradeById(stu_id,stu_name);}



}


